{{ fields }}
    <div class="p-4">
        <label for="{{ id }}">
            {{ display }}
            {{ if validate | contains:required }}
                <sup aria-label="{{ trans:Required }}">*</sup>
            {{ /if }}
        </label>
        <div class="p-2">{{ field }}</div>
        {{ if instructions }}
            <p class="text-gray-500" id="{{ id }}-instructions">{{ instructions }}</p>
        {{ /if }}
        {{ if error }}
            <p class="text-red-700" id="{{ id }}-error">{{ error }}</p>
        {{ /if }}
    </div>
{{ /fields }}
